package gc.rsb;

import java.util.Scanner;

public class CircleTest {
    public static void main(String[] args) {
        Circle c = new Circle();
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入半径r：");
        c.r = sc.nextDouble();
        sc.close();
        c.getArea();
        c.getPerimeter();
    }
}
